/* CodeBuilder代码生成器 生成时间：2011-12-10 10:14:45 */
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using Maticsoft.DBUtility;

namespace Model
{
    /// <summary>
	/// TB_Music:音乐 实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
    public class Music
    {
        public Music()
		{}
        #region Model
        private Int32? _id;
        private Int32? _userid;
        private string _title;
        private Int32? _classid;
        private string _content;
        private string _filepath;
        private Boolean? _ispass;
        private DateTime? _addtime;
        /// <summary>
		/// 主键
		/// </summary>
        [SqlField("ID",SqlDbType.Int,4)]
		public Int32? ID
		{
			set{ _id = value; }
			get{ return _id; }
		}
        /// <summary>
		/// 会员ID
		/// </summary>
        [SqlField("UserID",SqlDbType.Int,4)]
		public Int32? UserID
		{
			set{ _userid = value; }
			get{ return _userid; }
		}
        /// <summary>
		/// 标题
		/// </summary>
        [SqlField("Title",SqlDbType.NVarChar,200)]
		public string Title
		{
			set{ _title = value; }
			get{ return _title; }
		}
        /// <summary>
		/// 类型ID
		/// </summary>
        [SqlField("ClassID",SqlDbType.Int,4)]
		public Int32? ClassID
		{
			set{ _classid = value; }
			get{ return _classid; }
		}
        /// <summary>
		/// 内容
		/// </summary>
        [SqlField("Content",SqlDbType.NText,16)]
		public string Content
		{
			set{ _content = value; }
			get{ return _content; }
		}
        /// <summary>
		/// 音乐地址
		/// </summary>
        [SqlField("FilePath",SqlDbType.NVarChar,200)]
		public string FilePath
		{
			set{ _filepath = value; }
			get{ return _filepath; }
		}
        /// <summary>
		/// 审核
		/// </summary>
        [SqlField("IsPass",SqlDbType.Bit,1)]
		public Boolean? IsPass
		{
			set{ _ispass = value; }
			get{ return _ispass; }
		}
        /// <summary>
		/// 添加时间
		/// </summary>
        [SqlField("AddTime",SqlDbType.DateTime,8)]
		public DateTime? AddTime
		{
			set{ _addtime = value; }
			get{ return _addtime; }
		}
        #endregion Model
    }
}